import request from '@/utils/http'

// 获取历史消息列表
export function getHistoryAPI(currentUserId, toUserId, goodsId) {
  return request({
    url: '/chat/history',
    method: 'get',
    params: { currentUserId, toUserId, goodsId }
  })
}